package org.jeecg.modules.nurse_user_orders.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 用户订单明细
 * @Author: jeecg-boot
 * @Date: 2024-06-04
 * @Version: V1.0
 */
@Data
@TableName("nurse_user_orders_detail")
@ApiModel(value = "nurse_user_orders_detail对象", description = "用户订单明细")
public class NurseUserOrdersDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    /**
     * 商品ID
     */
    @Excel(name = "商品ID", width = 15)
    @ApiModelProperty(value = "商品ID")
    private String goodsId;
    /**
     * 商品名称
     */
    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    /**
     * 商品价格
     */
    @Excel(name = "商品价格", width = 15)
    @ApiModelProperty(value = "商品价格")
    private java.math.BigDecimal price;
    /**
     * 数量
     */
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer num;
    /**
     * 总金额
     */
    @Excel(name = "总金额", width = 15)
    @ApiModelProperty(value = "总金额")
    private java.math.BigDecimal amt;
    /**
     * 费用类型
     */
    @Excel(name = "费用类型", width = 15)
    @ApiModelProperty(value = "费用类型")
    private String costType;
    /**
     * 费用类型名称
     */
    @Excel(name = "费用类型名称", width = 15)
    @ApiModelProperty(value = "费用类型名称")
    private String costTypeName;
    /**
     * 开票代码
     */
    @Excel(name = "开票代码", width = 15)
    @ApiModelProperty(value = "开票代码")
    private String billCode;
    /**
     * 开票名称
     */
    @Excel(name = "开票名称", width = 15)
    @ApiModelProperty(value = "开票名称")
    private String billName;
    /**
     * 单位
     */
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
    /**
     * 规格
     */
    @Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String specs;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 商品上级ID
     */
    @Excel(name = "商品上级ID", width = 15)
    @ApiModelProperty(value = "商品上级ID")
    private String pid;
    /**
     * 商品上级名称
     */
    @Excel(name = "商品上级名称", width = 15)
    @ApiModelProperty(value = "商品上级名称")
    private String pname;
}
